Package com.cisco.pt.ipc.sim.impl
Class EIGRPRoutingEntryImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.RoutingEntryImpl
com.cisco.pt.ipc.sim.impl.EIGRPRoutingEntryImpl
- All Implemented Interfaces:
IPCData,EIGRPRoutingEntry,RoutingEntry
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.impl.RoutingEntryImpl
adminDistance, metric, networkId, nextHop, portName, subnetMask, typeOfProtocol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetInternal(EIGRPInternal internal) voidsetReportedDistance(int reportedDistance) Methods inherited from class com.cisco.pt.ipc.sim.impl.RoutingEntryImpl
getAdminDistance, getMetric, getNetworkId, getNextHop, getPortName, getSubnetMask, getTypeOfProtocol, setAdminDistance, setMetric, setNetworkId, setNextHop, setPortName, setSubnetMask, setTypeOfProtocolMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.RoutingEntry
getAdminDistance, getMetric, getNetworkId, getNextHop, getPortName, getSubnetMask, getTypeOfProtocol, setAdminDistance, setMetric, setNetworkId, setNextHop, setPortName, setSubnetMask, setTypeOfProtocol
-
Field Details
-
reportedDistance
protected int reportedDistance -
internal
-
-
Constructor Details
-
EIGRPRoutingEntryImpl
public EIGRPRoutingEntryImpl()
-
-
Method Details
-
getReportedDistance
public int getReportedDistance()- Specified by:
getReportedDistancein interfaceEIGRPRoutingEntry- Returns:
- int Returns a int
-
setReportedDistance
public void setReportedDistance(int reportedDistance) - Specified by:
setReportedDistancein interfaceEIGRPRoutingEntry- Parameters:
reportedDistance- Takes in a parameter of reportedDistance
-
getInternal
- Specified by:
getInternalin interfaceEIGRPRoutingEntry- Returns:
- EIGRPInternal Returns a EIGRPInternal
-
setInternal
- Specified by:
setInternalin interfaceEIGRPRoutingEntry- Parameters:
internal- Takes in a parameter of internal
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classRoutingEntryImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-